package com.foreveross.bsl.mam.model.app.domain;

import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.foreveross.bsl.mongodb.domain.Entity;


/**
 * 此类描述的是：打包任务记录表
 * 
 * @author: panhm@foreveross.com
 * @version: 2013-7-18 下午3:21:47
 */

@Document
public class PackageTask extends Entity {

	/**
	 * 任务id
	 */
	@Id
	private String id;
	/**
	 * 应用id
	 */
	@Field("appId")
	private String appId;
	/**
	 * 所属平台
	 */
	@Field("platform")
	private String platform;
	/**
	 * 版本号
	 */
	@Field("version")
	private String version;
	/**
	 * 构建号
	 */
	@Field("build")
	private int build;
	/**
	 * 版本描述
	 */
	@Field("release_note")
	private String release_note;
	/**
	 * 状态
	 */
	@Field("status")
	private int status;
	/**
	 * 创建时间
	 */
	@Field("createTime")
	private Date createTime;
	/**
	 * 完成时间
	 */
	@Field("finishTime")
	private Date finishTime;
	/**
	 * 安装包下载地址
	 */
	@Field("packageUrl")
	private String packageUrl;
	/**
	 * 日志下载地址
	 */
	@Field("logUrl")
	private String logUrl;
	/**
	 * 消息内容
	 */
	@Field("msg")
	private String msg;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getPlatform() {
		return platform;
	}

	public void setPlatform(String platform) {
		this.platform = platform;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public int getBuild() {
		return build;
	}

	public void setBuild(int build) {
		this.build = build;
	}

	public String getRelease_note() {
		return release_note;
	}

	public void setRelease_note(String release_note) {
		this.release_note = release_note;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getFinishTime() {
		return finishTime;
	}

	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}

	public String getPackageUrl() {
		return packageUrl;
	}

	public void setPackageUrl(String packageUrl) {
		this.packageUrl = packageUrl;
	}

	public String getLogUrl() {
		return logUrl;
	}

	public void setLogUrl(String logUrl) {
		this.logUrl = logUrl;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

}
